package com.hzu.bean;

import java.util.Date;

/**
 * Worker entity. @author MyEclipse Persistence Tools
 */

public class Worker implements java.io.Serializable {

	// Fields
	private Integer workerId;
	private String name;
	private String department;
	private String role;
	private String number;
	private String workStatus;
	private Date entryDate;
	private Date leaveDate;
	private String idcard;
	private Date validDate;
	private String gender;
	private Date birthday;
	private String nation;
	private String marriage;
	private String education;
	private String major;
	private String graduation;
	private String contract;
	private Date conValidDate;
	private Date conInvalidDate;
	private String telephone;
	private String address;
	private String linkMan;
	private String linkTel;

	// Constructors

	/** default constructor */
	public Worker() {
	}

	/** full constructor */
	public Worker(String name, String department, String role, String number, String workStatus, Date entryDate, Date leaveDate, String idcard, Date validDate, String gender,
			Date birthday, String nation, String marriage, String education, String major, String graduation, String contract, Date conValidDate, Date conInvalidDate,
			String telephone, String address, String linkMan, String linkTel) {
		this.name = name;
		this.department = department;
		this.role = role;
		this.number = number;
		this.workStatus = workStatus;
		this.entryDate = entryDate;
		this.leaveDate = leaveDate;
		this.idcard = idcard;
		this.validDate = validDate;
		this.gender = gender;
		this.birthday = birthday;
		this.nation = nation;
		this.marriage = marriage;
		this.education = education;
		this.major = major;
		this.graduation = graduation;
		this.contract = contract;
		this.conValidDate = conValidDate;
		this.conInvalidDate = conInvalidDate;
		this.telephone = telephone;
		this.address = address;
		this.linkMan = linkMan;
		this.linkTel = linkTel;
	}

	// Property accessors

	public Integer getWorkerId() {
		return this.workerId;
	}

	public void setWorkerId(Integer workerId) {
		this.workerId = workerId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getWorkStatus() {
		return this.workStatus;
	}

	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	public Date getEntryDate() {
		return this.entryDate;
	}

	public void setEntryDate(Date entryDate) {
		this.entryDate = entryDate;
	}

	public Date getLeaveDate() {
		return this.leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public Date getValidDate() {
		return this.validDate;
	}

	public void setValidDate(Date validDate) {
		this.validDate = validDate;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getMarriage() {
		return this.marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public String getEducation() {
		return this.education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getGraduation() {
		return this.graduation;
	}

	public void setGraduation(String graduation) {
		this.graduation = graduation;
	}

	public String getContract() {
		return this.contract;
	}

	public void setContract(String contract) {
		this.contract = contract;
	}

	public Date getConValidDate() {
		return this.conValidDate;
	}

	public void setConValidDate(Date conValidDate) {
		this.conValidDate = conValidDate;
	}

	public Date getConInvalidDate() {
		return this.conInvalidDate;
	}

	public void setConInvalidDate(Date conInvalidDate) {
		this.conInvalidDate = conInvalidDate;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLinkMan() {
		return this.linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getLinkTel() {
		return this.linkTel;
	}

	public void setLinkTel(String linkTel) {
		this.linkTel = linkTel;
	}

}